﻿namespace Compass.Wasm.Shared.Purchases;

public class NavInvReportClassDto : BaseDto
{
    private int year;
    public int Year { get => YearMonth.Year; set { year = value; OnPropertyChanged(); } }
    //Month
    private DateTime yearMonth;
    public DateTime YearMonth { get => yearMonth; set { yearMonth = value; OnPropertyChanged(); } }

    //Raw Material
    private double rawMtlValue;
    public double RawMtlValue { get => rawMtlValue; set { rawMtlValue = value; OnPropertyChanged(); } }

    //Semi-products
    private double semiProdValue;
    public double SemiProdValue { get => semiProdValue; set { semiProdValue = value; OnPropertyChanged(); } }

    //Finished goods/Trade
    private double fgTradeValue;
    public double FgTradeValue { get => fgTradeValue; set { fgTradeValue = value; OnPropertyChanged(); } }

    //FS Subtotal
    private double fsSubtotal;
    public double FsSubtotal { get => fsSubtotal; set { fsSubtotal = value; OnPropertyChanged(); } }

    //MTPT(Days)
    private int mtpt;
    public int MTPT { get => mtpt; set { mtpt = value; OnPropertyChanged(); } }

    //Received FS
    private double recvValue;
    public double RecvValue { get => recvValue; set { recvValue = value; OnPropertyChanged(); } }

    //Consumption FS
    private double consValue;
    public double ConsValue { get => consValue; set { consValue = value; OnPropertyChanged(); } }

    //Gap
    private double gap;
    public double Gap { get => gap; set { gap = value; OnPropertyChanged(); } }

}

public class NavInvReportClassString
{
    public string YearMonth { get; set; }
    public string RawMtlValue { get; set; }
    public string SemiProdValue { get; set; }
    public string FgTradeValue { get; set; }
    public string FsSubTotal { get; set; }
    public string MTPT { get; set; }
    public string RecvValue { get; set; }
    public string ConsValue { get; set; }
    public string Gap { get; set; }
}